Skip to content

Manchester | ITP-May-26 | Abdu Hassen | Sprint 3 | Project TV Show - #80

Open
Abduhasen wants to merge 21 commits into
CodeYourFuture:mainfrom
Abduhasen:main
Open

Manchester | ITP-May-26 | Abdu Hassen | Sprint 3 | Project TV Show #80
Abduhasen wants to merge 21 commits into
CodeYourFuture:mainfrom
Abduhasen:main

Conversation

@Abduhasen

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | SPRINT NUM | PROJECT NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

-created a template on html
-used the template to create a card in js
-added search bar for episode list
-added drop down for the episode list
-fetch data from API that list episodes
-added API that fetch tv show
-added search bar for tv show and drop down
-added back button from episode list

Questions

Abduhasen and others added 21 commits August 9, 2026 18:49
…ml,using <template> add a function for each episodes that create a card and write all necessary information. added css style borders for texts and images
Manchester | ITP-May-26 | Abdu Hassen | sprint 1 | Project TV Show
Manchester | ITP-May-26 | Joanne O'Malley | Sprint 2 | Partner project tv show level 200
Manchester | ITP-May-26 | Abdu Hassen | Sprint 2 | Level 300
Manchester |  ITP-May-26 | Abdu Hassen | Sprint 2 | level 300
Manchester | ITP-May-26| Joanne O'Malley | Sprint 3 | Partner project tv show level 400
Manchester | ITP-May-26 | Abdu Hassen | Sprint 3 | Project Tv show  refactoring code and creating css features
Manchester | ITP-May-26 | Abdu Hassen | Sprint 3 |Project TV Show Feature/level 500
@Abduhasen Abduhasen added 📅 Sprint 3 Assigned during Sprint 3 of this module Submit:PR Submit via a pull request Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Flows labels Aug 17, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Deployed page meets all the requirements
  • Good use of semantic HTML and templates
  • Appropriate use of caching

Good work on this. ITP is complete now, but if you want an extra challenge, feel free to respond to my comments.

Comment thread script.js
}
return episodeCache[showId];
}
async function setup() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless there's a clear reason for it, having all your functions defined inside setup might not be such a good idea. Do you think this approach is the best for your code?

Comment thread script.js
const link = card.querySelector(".episode-link");
title.textContent = `${episode.name} - ${formatEpisodeCode(episode)}`;
image.src = episode.image?.medium || "";
image.alt = episode.name;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an appropriate use of an alt tag? See what https://axesslab.com/alt-texts/ has to say

Comment thread script.js
title.textContent = `${episode.name} - ${formatEpisodeCode(episode)}`;
image.src = episode.image?.medium || "";
image.alt = episode.name;
summary.innerHTML = episode.summary || "";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't wrong, but can you think of any potential side effects of inserting the summary from the API directly into your HTML like this?

Comment thread script.js
image.alt = episode.name;
summary.innerHTML = episode.summary || "";
if (episode.url) {
link.addEventListener("click", () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the purpose of this button is to open a page, is there a more semantic approach you could use than writing js to open said link?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Flows Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 3 Assigned during Sprint 3 of this module Submit:PR Submit via a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants